package com.edu.service;

import com.edu.common.EbookReq;
import com.edu.common.EbookResp;
import com.edu.common.EbookSaveReq;
import com.edu.common.PageResp;
import com.edu.dao.EbookMapper;
import com.edu.pojo.Ebook;
import com.edu.pojo.EbookExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

public interface EbookService{
    List<Ebook> getAll();
    PageResp<EbookResp> getEbook(EbookReq ebookReq);

    void save(EbookSaveReq req);

    void delete(Long id);
}
